home *** CD-ROM | disk | FTP | other *** search
- int function_expecting_pointer_to_int( int *p_input_value);
-
- void calling_function(void)
- {
- int i;
- function_expecting_pointer_to_int(&i);
- }
-
- int function_expecting_pointer_to_int( int *p_xinput_value)
- {
- int local_variable;
- /* Do something with it */
- local_variable = *p_input_value;
- ...
- }
-
-
-